 
 ssc install spmap
 ssc install spshape2dta
 ** before using this command, make sure to put map data (shp file) in the given folder
 
 use "/Users/sungmhan/Desktop/Tang_Yu_Han/maps1/WorldCountries.dta"
rename placename countryname
replace countryname="Bahamas" if countryname=="The Bahamas"
replace countryname="Gambia" if countryname=="The Gambia"
merge 1:1 countryname using "/Users/sungmhan/Desktop/Tang_Yu_Han/mapdata_tang1.dta"
drop _merge

 cd "/Users/sungmhan/Desktop/Tang_Yu_Han/maps1"

spmap z_rowmax_5dis_maj  using "WorldCountries_shp.dta", id(_ID)  ///
fcolor(Reds2) clnumber (19) ndfcolor(white)   ///
title("Standardized 5 Major Disaster Counts across Worlds", size(*0.8))         ///
        subtitle("World, 2005-2014" " ", size(*0.8))                       ///
        legstyle(3) legend(ring(1) position(3))  

